'use strict';

function collect_min_number(collection) {
  //在这里写入代码
  //排序，再取
  return collection.sort((b,a) => (a-b)).pop();
}

module.exports = collect_min_number;
// var collection = [1, 8, 9, 21, 5];
// console.log(collect_min_number(collection));
